CommonsBooking\Model\Timeframe C

Total Complexity 120
Dependencies 8
Dependents 13
Total lines 685
Lines of code 380
Logical lines of code 160
Comment lines 207
Methods 34
Properties 0

Methods 34

Method Rating Maintainability Complexity Lines of code
isValid()
C
31 24 126
hasTimeframeTimeOverlap()
A
54 16 22
hasTimeframeDateOverlap()
A
57 13 18
formatBookableDate()
A
48 10 34
getAdmins()
A
56 9 19
bookingCodesApplicable()
S
64 6 9
getGridSize()
S
61 3 11
getLocation()
S
66 3 9
getItem()
S
66 3 9
getEndTimeDateTime()
S
63 2 11
getUTCEndDateDateTime()
S
69 2 7
getUTCStartDateDateTime()
S
69 2 7
getStartDate()
S
65 2 10
getLatestPossibleBookingDateTimestamp()
S
67 2 7
getEndDate()
S
68 2 8
getTimeframeEndDate()
S
66 2 9
getStartTimeDateTime()
S
63 2 10
formattedBookableDate()
S
79 1 3
getEndDateDateTime()
S
75 1 4
isOverBookable()
S
78 1 3
isLocked()
S
78 1 3
createBookingCodes()
S
79 1 3
isFullDay()
S
79 1 3
showBookingCodes()
S
79 1 3
getWeekDays()
S
80 1 3
getGrid()
S
80 1 3
getEndTime()
S
80 1 3
getStartTime()
S
80 1 3
getType()
S
80 1 3
getTimeFormat()
S
80 1 3
isBookable()
S
73 1 5
getRawEndDate()
S
81 1 3
getDateFormat()
S
79 1 3
getRepetition()
S
80 1 3